package com.eastfair.venuebooking.vo;

import com.eastfair.annotation.annotation.dictionary.Dict;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import com.eastfair.venuebooking.demand.ExhibitionGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 展会负责人
 * </p>
 *
 * @author linan
 * @since 2022-06-08
 */
@Data
public class ExhibitionResponsibilityerVO implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long exhibitionId;

    /**
     * 负责人姓名
     */
    @ApiModelProperty(value = "负责人姓名")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private String userName;

    /**
     * 负责人id
     */
    @ApiModelProperty(value = "负责人ID")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long userId;

    /**
     * 部门
     */
    @ApiModelProperty(value = "部门ID")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long orgId;

    /**
     * 部门
     */
    @ApiModelProperty(value = "部门名称")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private String orgName;

    /**
     * 加入时间
     */
    @ApiModelProperty(value = "加入时间")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private LocalDateTime createTime;

    /**
     * 负责人角色code(主要负责人，协助人员枚举维护)
     */
    @ApiModelProperty(value = "负责人角色")
    @Dict(dicCode = "RESPONSIBILITYER_ROLE")
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private String responsibilityerRole;

}
